2.25.5 [10] <2.10> If the immediate field of an MIPS instruction was only 8 bits
wide, write the MIPS code that creates the 32-bit constants listed above and stores
that value to register $t1. Do not use the lui instruction.
For the following problems, you will be using the MIPS assembly code as listed in
the table.
a. lui $t0, 0x1234
addi $t0, $t0, 0x5678
b. lui $t0, 0x1234
andi $t0, $t0, 0x5678
 
 
View Solution
 
 
 
<< Back Next >>